import request from '@/utils/request'

// 查询企业的部门列表
export function getDepartment() {
  return request({
    url: '/company/department'
  })
}

// 根据ID删除部门   /company/department/{id}
export function deldepartment(id) {
  return request({
    url: '/company/department/' + id,
    method: 'delete'
  })
}
